package com.gopay.common.domain.bank.ipay.expay;

import java.io.Serializable;

import com.gopay.common.domain.bank.ExPayBaseMessage;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamOmitField;

/**
 * 民生i支付快捷支付对象
 * 
 * @CmbcExPayBaseMessage.java
 * @author jiangxiangjiao
 */
@XStreamAlias("message")
public class IpayExPayBaseMessage extends ExPayBaseMessage implements Serializable {

	private static final long serialVersionUID = 8481447732687727499L;

	@XStreamAlias("head")
	private Head head;

	@XStreamAlias("body")
	private Body body;
	
	/**
	 * 加密后的请求报文
	 */
	@XStreamOmitField
	private String encryptData;
	
	/**
	 * 加密后的AES对称密钥
	 */
	@XStreamOmitField
	private String encryptKey;
	
	/**
	 * 请求报文签名
	 */
	@XStreamOmitField
	private String signData;
	
	/**
	 * 交易服务码
	 */
	@XStreamOmitField
	private String tranCode;
	
	/**
	 * 报文跟踪码
	 */
	@XStreamOmitField
	private String traceId;
	
	/**
	 * 备用域
	 */
	@XStreamOmitField
	private String msgExt;
	
	/**
	 * 合作方代码
	 */
	@XStreamOmitField
	private String companyId;
	
	/**
	 * 回调地址
	 */
	@XStreamOmitField
	private String callBack;
	
	@XStreamOmitField
	private boolean verifyFlag;

	public Head getHead() {
		return head;
	}

	public void setHead(Head head) {
		this.head = head;
	}

	public Body getBody() {
		return body;
	}

	public void setBody(Body body) {
		this.body = body;
	}

	public String getEncryptData() {
		return encryptData;
	}

	public void setEncryptData(String encryptData) {
		this.encryptData = encryptData;
	}

	public String getEncryptKey() {
		return encryptKey;
	}

	public void setEncryptKey(String encryptKey) {
		this.encryptKey = encryptKey;
	}

	public String getSignData() {
		return signData;
	}

	public void setSignData(String signData) {
		this.signData = signData;
	}

	public String getTranCode() {
		return tranCode;
	}

	public void setTranCode(String tranCode) {
		this.tranCode = tranCode;
	}

	public String getTraceId() {
		return traceId;
	}

	public void setTraceId(String traceId) {
		this.traceId = traceId;
	}

	public String getMsgExt() {
		return msgExt;
	}

	public void setMsgExt(String msgExt) {
		this.msgExt = msgExt;
	}

	public String getCompanyId() {
		return companyId;
	}

	public void setCompanyId(String companyId) {
		this.companyId = companyId;
	}

	public String getCallBack() {
		return callBack;
	}

	public void setCallBack(String callBack) {
		this.callBack = callBack;
	}

	public boolean isVerifyFlag() {
		return verifyFlag;
	}

	public void setVerifyFlag(boolean verifyFlag) {
		this.verifyFlag = verifyFlag;
	}
	
}
